package IoC;

/**
 * @author krystal
 * @date 2023/3/5 18:24
 */
public class Buttom {
    private Tire tire;

    public Buttom(Tire tire){
        this.tire=tire;
    }

    public void init(){
        System.out.println("执行buttom");
        //依赖轮胎
        tire.init();
    }
}
